{%extends 'base.html'%}
{%block contenu%}
<form action="{% url 'se_connecter' %}" method="post">
    <span style="color:red">{{form.nom_utilisateur.errors}}</span>
    <span style="color:red">{{form.mot_de_passe.errors}}</span>
    {% csrf_token %}
    {{ form.as_table }}
    <input type="submit" value="Submit" />
</form>
{%endblock%}